package com.wwu.common.constant;

/**
 * 返回值常量
 * @author 一蓑烟雨
 * @date 2021-10-26 16:37
 * @version 1.0.0
 **/
public class ResultConst {
    /** 成功编码 */
    public  static  final  Integer SUCCESS_CODE = 200;
    /** 成功消息 */
    public  static  final String  SUCCESS_MSG = "操作成功!";

    /** 失败编码 */
    public  static  final  Integer ERROR_CODE  = 500;
    /** 失败消息 */
    public  static  final  String ERROR_MSG  = "操作失败!";

    /** 异常编码 */
    public  static  final  Integer EXCEPTION_CODE  = 400;
    /** 程序消息 */
    public  static  final  String EXCEPTION_MSG  = "程序发生异常!";

    /** 添加成功 */
    public  static  final  String INSERT_SUCCESS  = "添加成功!";
    /** 添加失败 */
    public  static  final  String INSERT_FAILED  = "添加失败!";

    /** 更新成功 */
    public  static  final  String UPDATE_SUCCESS  = "更新成功!";
    /** 更新失败 */
    public  static  final  String UPDATE_FAILED  = "更新失败!";

    /** 删除成功 */
    public  static  final  String DELETE_SUCCESS  = "删除成功!";
    /** 删除失败 */
    public  static  final  String DELETE_FAILED  = "删除失败!";

    /** 批量删除成功 */
    public  static  final  String DELETES_SUCCESS  = "批量删除成功!";
    /** 批量删除失败 */
    public  static  final  String DELETES_FAILED  = "批量删除失败!";

    /** 保存成功 */
    public  static  final  String SAVE_SUCCESS  = "保存成功!";
    /** 保存失败 */
    public  static  final  String SAVE_FAILED  = "保存失败!";

    /** 导入成功 */
    public  static  final  String IMPORT_SUCCESS  = "导入成功!";
    /** 导入失败 */
    public  static  final  String IMPORT_FAILED  = "导入失败!";

    /** 导出成功 */
    public  static  final  String EXPORT_SUCCESS  = "导出成功!";
    /** 导出失败 */
    public  static  final  String EXPORT_FAILED  = "导出失败!";

    /** 邮件发送成功 */
    public  static  final  String EMAIL_SUCCESS  = "邮件发送成功!";
    /** 邮件发送失败 */
    public  static  final  String EMAIL_FAILED  = "邮件发送失败!";

    /** 文件上传成功 */
    public  static  final  String UPLOAD_SUCCESS  = "文件上传成功!";
    /** 文件上传失败 */
    public  static  final  String UPLOAD_FAILED  = "文件上传失败!";

    /** 文件下载成功 */
    public  static  final  String DOWNLOAD_SUCCESS  = "文件下载成功!";
    /** 文件下载失败 */
    public  static  final  String DOWNLOAD_FAILED  = "文件下载失败!";

    /** 文件删除成功 */
    public  static  final  String FILEDELETE_SUCCESS  = "文件删除成功!";
    /** 文件删除失败 */
    public  static  final  String FILEDELETE_FAILED  = "文件删除失败!";
}
